package com.ai.bitcoin.constant;

/**
 * @author Jason
 * @date 2018/3/29
 **/
public class Bcc {

    public static final char SEPARATOR = '_';
    public static final String Time = "time";
    public static final String INDEX_SEPARATOR = "*_*";


    public final static class HttpRequest {
        public static final String RANK_TYPE = "rankType";
        public static final String PAGE_SIZE = "pageSize";
        public static final String PAGE_NUM = "pageNum";
        public static final String BCCID = "bccId";
    }

    public final static class Item {
        public static final String totalSupply = "totalSupply";
        public static final String availableSupply = "availableSupply";
        public static final String icoToNowDay = "icoToNowDay";
        public static final String onlineToNowDay = "onlineToNowDay";
        public static final String officialSiteUrlCount = "officialSiteUrlCount";
        public static final String top3Ratio = "top3Ratio";
        public static final String marketCount = "marketCount";
        public static final String blockReward = "blockReward";
        public static final String computeAbility = "computeAbility";
        public static final String githubStarCount = "githubStarCount";
        public static final String blockCreateTimeGap = "blockCreateTimeGap";
        public static final String volumeUsd = "volumeUsd";
        public static final String volumeUsdAver30 = "volumeUsdAver30";
        public static final String dailyVisitRank = "dailyVisitRank";
        public static final String dailyVisitRank1dChange = "dailyVisitRank1dChange";
        public static final String whole_average_daily_30d = "whole_average_daily_30d";
        public static final String snsCommentCount = "snsCommentCount";
        public static final String searchIndex = "searchIndex";
    }

    public final static class FieldType {
        public static final String Score = "score";
        public static final String HomePage = "show2homepage";
    }


    public final static class HandleRule {
        public final static class ScoreClass {
            public static final String RANK = "rank";
            public static final String SCORE = "score";
        }

    }

    public final static class Score {
        public final static class BasicScore {
            public static final String supply_score = "supply_score";
            public static final String need_score = "need_score";
            public static final String inner_score = "inner_score";
            public static final String mood_score = "mood_score";
            public static final String safe_score = "safe_score";
            public static final String future_score = "future_score";
        }

    }

    public final static class BathType {
        public static final String RANK = "rank";
        public static final String CRAWL_BASIC_INFO = "crawl_basic_info";
        public static final String CRAWL_PRICE_INFO = "crawl_price_info";

        public static final String CRAWL_DAILY_INFO = "crawl_daily_info";
        public static final String CRAWL_INDEX_INFO = "crawl_index_info";

        public static final String UPDATE_DAILY_INFO = "update_daily_info";
        public static final String UPDATE_BASIC_INFO = "update_basic_info";
        public static final String UPDATE_PRICE_INFO = "update_price_info";

    }

    public final static class BackTask {
        public static final String RANK = "rank";
        public static final String UPDATE_BASIC_INFO = "update_basic_info";
        public static final String UPDATE_DAILY_INFO = "update_daily_info";
        public static final String UPDATE_CURRENT_PRICE = "update_current_price";
        public static final String CLEAR_INFO_CRAWL = "clear_info_crawl";
        public static final String DAY_PRICE = "day_price";
    }

    public final static class BathState {
        public final static class Rank {
            public static final String RANK_DONE = "rank_done";
        }

        public static final String CRAWL_DONE = "crawl_done";
        public static final String EXPIRE = "expire";

        public static final String UPDATE_DONE = "update_done";

        public static final String HANDLE_DONE = "handle_done";

        public static final String CLEAR_DONE = "clear_done";

    }

    public final static class RankType {
        public static final String RANK_VALUE_TODAY = "rankValueToday";
        public static final String RANK_VALUE_TODAY_DETAIL = "rankValueTodayDetail";
        public static final String RANK_GAS_TODAY = "rankGasToday";
        public static final String RANK_POTENTIAL_TODAY = "rankPotentialToday";

        public static final String RANK_SUPPLY_SCORE = "rank_supply_score";
        public static final String RANK_NEED_SCORE = "rank_need_score";
        public static final String RANK_INNER_SCORE = "rank_inner_score";
        public static final String RANK_MOOD_SCORE = "rank_mood_score";
        public static final String RANK_SFAE_SCORE = "rank_safe_score";
        public static final String RANK_FUTURE_SCORE = "rank_future_score";

        public static final String RANK_VALUE_UP = "rankValueUp";
        public static final String RANK_POTENTIAL_UP = "rankPotentialUp";
    }

    public final static class RecordState {
        public static final String PUBLISH = "publish";
        public static final String UN_PUBLISH = "un_publish";
    }

    public final static class Cache {
        public static final String Top = "top";
        public static final String BASIC_INFO = "basic_info";
        public static final String REPORT_BASIC_INFO = "report_basic_info";
        public static final String NEWS_INFO = "news_info";
        public static final String NEWS_DIGEST_INFO = "news_digest_info";
        public static final String BCC_LIST = "bcc_list";
        public static final String RANK = "rank";

        public final static class HomePage {
            public static final String PAGE_NUM = "home_page_pageNum";
            public static final String TOTAL = "home_page_total";
            public static final String RANK_PAGE = "rank_page";
        }


        public final static class Price {
            public static final String CURRENT_PRICE = "current_price";
            public static final String TODAY_PRICE = "today_price";
            public static final String DAY_PRICE = "day_price";
            public static final String H24_PRICE = "h24_price";

        }

        public final static class Version {
            public static final String CALCULATE = "calculate";
            public static final String TODAY_PRICE = "today_price";
        }

        public final static class Time {
            public static final String TODAY_PRICE = "today_price";
        }
    }

    public final static class ShowType {
        public static final String Rank = "rank";
        public static final String Top = "top";
        public static final String Price = "price";
        public static final String BasicInfo = "basicInfo";
    }

    public static final String BCC_DEDAULT = "default";
}
